package com.crazyhat.crazyhat.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import com.crazyhat.crazyhat.entity.Club;
import com.github.yulichang.base.MPJBaseMapper;


/**
 * <p>
 * 社团 Mapper 接口
 * </p>
 *
 * @author crazyhat
 * @since 2024-07-05
 */
@Mapper
public interface ClubMapper extends MPJBaseMapper<Club> {

    @Deprecated
    @Select("select * from club where club_name=#{clubName}")
    Club findByName(String clubName);

}

